package com.example.common.utils;

import java.util.UUID;

/**
 * <p>
 *      生成工具
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
public class GeneratorUtils {

    public static String code_6 () {
        return String.valueOf ((int) (Math.random()*9+1)*100000);
    }


    public static String orderToken () {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }

    public static int random_2() {
        return (int) (Math.random()*9+1)*10;
    }
}
